﻿using Blog.Core.Domain.Model;
using Blog.Core.IServices;
using System.Diagnostics;
using System.Text;

namespace Blog.Core.Api.Middleware
{

    /// <summary>
    /// 这是扩展方法，将以上中间件公开给使用者
    /// </summary>
    public static class RequestLogMiddlewareExt
    {
        public static IApplicationBuilder UseRequestLogMiddleware(this IApplicationBuilder builder)
        {

            return builder.UseMiddleware<RequestLogMiddleware>();
        }
    }
    
    
}
